import Layout from '@/layout/index.vue'

const blogViewRouter = [
  {
    path: '/blogView',
    component: Layout,
    redirect: '/blogView/index',
    name: 'blogView',
    meta: {
      title: '文章',
      icon: 'chat-square',
      roles: ['other'],
    },
    children: [
      {
        path: '/blogView/index',
        component: () => import('@/views/blogView/index.vue'),
        name: 'blogViewShow',
        meta: { title: '文章', icon: 'chat-square', roles: ['other'] },
      },
    ],
  },
]

export default blogViewRouter
